// package-owner/pages/owner-setting/avatar-change/index.js
import { UserInfoEditMixins } from '../../../../behaviors/page';

Page({
    mixins: [UserInfoEditMixins],
    saveAvatar: async function (event) {
        console.log('AvatarChange => 保存头像', event.detail);
        if (event.detail) {
            await this.userInfoUpdataAction({
                pic: event.detail,
            });
        }
    },
})